package com.passer.web.travel.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.passer.common.annotation.Excel;
import com.passer.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 必玩景点对象 t_jing
 *
 * @author passer
 * @date 2021-11-23
 */
public class TJing extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 景点id */
    private Long jid;

    /** 景点名称 */
    @Excel(name = "景点名称")
    private String jname;

    /** 景点地址 */
    @Excel(name = "景点地址")
    private String position;

    /** 景点详情 */
    @Excel(name = "景点详情")
    private String detail;

    /** 经营时间(始) */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "经营时间(始)", width = 30, dateFormat = "yyyy-MM-dd")
    private Date otime;

    /** 经营时间(至) */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "经营时间(至)", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ctime;

    /** 封面URL */
    private String coverURL;

    public String getCoverURL() {
        return coverURL;
    }

    public void setCoverURL(String coverURL) {
        this.coverURL = coverURL;
    }

    public void setJid(Long jid)
    {
        this.jid = jid;
    }

    public Long getJid()
    {
        return jid;
    }
    public void setJname(String jname)
    {
        this.jname = jname;
    }

    public String getJname()
    {
        return jname;
    }
    public void setPosition(String position)
    {
        this.position = position;
    }

    public String getPosition()
    {
        return position;
    }
    public void setDetail(String detail)
    {
        this.detail = detail;
    }

    public String getDetail()
    {
        return detail;
    }
    public void setOtime(Date otime)
    {
        this.otime = otime;
    }

    public Date getOtime()
    {
        return otime;
    }
    public void setCtime(Date ctime)
    {
        this.ctime = ctime;
    }

    public Date getCtime()
    {
        return ctime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("jid", getJid())
            .append("jname", getJname())
            .append("position", getPosition())
            .append("detail", getDetail())
            .append("otime", getOtime())
            .append("ctime", getCtime())
            .toString();
    }
}
